<?php echo $this->element('navigation'); ?>

<div class="orders form">
<?php echo $this->Form->create('Order');?>
	<fieldset>
 		<legend><?php __('Add Order'); ?></legend>
	<?php
		echo $this->Form->hidden('user_id', array('value' => $currentUserId));
		echo $this->Form->input('publication_author');
		echo $this->Form->input('publication_title');
		echo $this->Form->input('publication_year');
		echo $this->Form->input('publication_place');
		echo $this->Form->input('publication_isbn', array('label' => 'ISBN'));
		echo $this->Form->input('time_limit', array('label' => 'Interested until...'));
		echo $this->Form->input('remarks');
		echo $this->Form->hidden('status', array('default' => 'New'));
		echo $this->Form->hidden('return_request', array('default' => 0));
		echo $this->Form->hidden('interlibrary_loan', array('default' => 0));
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit', true));?>
</div>

